//
//  GRPublic.h
//  YC_GRice
//
//  Created by LiuFeng on 2018/7/8.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#ifndef GRPublic_h
#define GRPublic_h

#import "GRiceMacro.h"
#import "GRNetworking.h"
#import "GRBasisProtocol.h"

#pragma Mark ============  第三方类库  =======================

#import <SDWebImage/UIImageView+WebCache.h>
#import <SDWebImage/UIButton+WebCache.h>
#import <MJRefresh/MJRefresh.h>
#import <Masonry/Masonry.h>
#import <YYModel/YYModel.h>
#import <XXNibBridge/XXNibBridge.h>

#pragma Mark ============  常用头文件  =======================

//  =====================  类目  ========================
#import "UIView+Extension.h"
#import "UIView+LoadNib.h"
#import "NSObject+common.h"
#import "NSString+common.h"
#import "UIViewController+common.h"
#import "Toast.h"

//  =====================  单例  ========================

#import "GRUserBasisInfo.h"
#import "GRUMengCommon.h"
#import "GRLocationManager.h"
#import "GRPayManager.h"
#import "LFAlertBox.h"

//  ====================  常用类  ========================
#import "GRHUD.h"
#import "GRRefreshBackFooter.h"

//
#import "RequestManager+GRAddress.h"


typedef NS_ENUM(NSUInteger, GRRefresh) {
    GRRefreshForHeader = 0,
    GRRefreshForFooter,
};
typedef NS_ENUM(NSInteger ,MyOrderType){
    MyOrderTypeAll = 0,
    MyOrderTypeWaitPay,
    MyOrderTypeWaitDeliver,
    MyOrderTypeWaitRecive,
    MyOrderTypeFinished,
    MyOrderTypeCancle
};
typedef NS_ENUM(NSInteger ,RiceOrderType){
    RiceOrderTypeAll = 0,
    RiceOrderTypeWaitPay,
    RiceOrderTypeCanUse,
    RiceOrderTypeUsed,
    RiceOrderTypeReturn,
    RiceOrderUnComment

};


#define CLog(format, ...)  NSLog(format, ## __VA_ARGS__)

#define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);

#endif /* GRPublic_h */
